<template>
  <div style="min-height: 75vh">
    <router-view />
  </div>
</template>

<script>
export default {
  name: "Main",
  mounted() {
    this.initChat();
  },
  methods: {
    /**
     * @description  初始化 聊天
     */
    initChat() {
      WARBLER.init({
        WARBLER_URL: "https://www.yingyuchat.com",
        WARBLER_KEFU_ID: "hjx123456",
        WARBLER_ENT: "625",
        WARBLERAUTO_SHOW: false, //对话框默认一开始就显示，false则为不显示
      });
    },
  },
};
</script>

<style></style>
